local canmeng_active = fk.CreateSkill{
    name = "ym1__canmeng_active",
}
canmeng_active:addEffect("active",{
    card_num = function (self)
        if self.interaction.data == "#ym1__canmeng1" then
            return 1
        else
            return 2
        end
    end,
    target_num = function (self)
        if self.interaction.data == "#ym1__canmeng1" then
            return 0
        else
            return 2
        end
    end,
    interaction = function(self)
        return UI.ComboBox {choices = {"#ym1__canmeng1","#ym1__canmeng2"}}
    end,
    card_filter = function(self, player, to_select, selected)
        if self.interaction.data == "#ym1__canmeng1" then
            return #selected < 1
        else
            return #selected < 2
        end
    end,
    target_filter = function(self, player, to_select, selected, selected_cards)
        return self.interaction.data == "#ym1__canmeng2" and Fk:currentRoom():getPlayerById(to_select.id):getMark("_ym1__canmeng-phase") > 0
    end,
})
return canmeng_active